function sqrt (a)
  x = 1
  for i = 1:7
    x = 0.5*(x + a/x)
    print(i)
    println(x)
  end
  return x 
end

i = 10
while i<=20
  println( sqrt(i) )
  i = i + 1
end
